<?php

declare (strict_types=1);

namespace app\exception;

class RequestException extends \Exception
{
    /**
     * @var Response
     */
    protected $response;

    public function __construct(string $message = '', int $code = 500)
    {
        $this->code    = $code;
        $this->message = $message;
    }

}
